static guint signals[LAST_SIGNAL] = { 0, };
/**
- * SECTION:gtkdrawingarea
- * @Short_description: A simple widget for drawing with cairo
- * @Title: GtkDrawingArea
- * @See_also: #GtkImage
+ * GtkDrawingArea:
*
* `GtkDrawingArea` is a widget that allows drawing with cairo.
*
widget_class->snapshot = gtk_drawing_area_snapshot;
/**
- * GtkDrawingArea:content-width
+ * GtkDrawingArea:content-width: (attributes org.gtk.Property.get=gtk_drawing_area_get_content_width org.gtk.Property.set=gtk_drawing_area_set_content_width)
*
* The content width.
- *
- * See [method@Gtk.DrawingArea.set_content_width] for details.
*/
props[PROP_CONTENT_WIDTH] =
g_param_spec_int ("content-width",
GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY);
/**
- * GtkDrawingArea:content-height
+ * GtkDrawingArea:content-height: (attributes org.gtk.Property.get=gtk_drawing_area_get_content_height org.gtk.Property.set=gtk_drawing_area_set_content_height)
*
* The content height.
- *
- * See [method@Gtk.DrawingArea.set_content_height] for details.
*/
props[PROP_CONTENT_HEIGHT] =
g_param_spec_int ("content-height",
}
/**
- * gtk_drawing_area_set_content_width:
+ * gtk_drawing_area_set_content_width: (attributes org.gtk.Method.set_property=content-width)
* @self: a `GtkDrawingArea`
* @width: the width of contents
*
}
/**
- * gtk_drawing_area_get_content_width:
+ * gtk_drawing_area_get_content_width: (attributes org.gtk.Method.get_property=content-width)
* @self: a `GtkDrawingArea`
*
* Retrieves the content width of the `GtkDrawingArea`.
}
/**
- * gtk_drawing_area_set_content_height:
+ * gtk_drawing_area_set_content_height: (attributes org.gtk.Method.set_property=content-height)
* @self: a `GtkDrawingArea`
* @height: the height of contents
*
}
/**
- * gtk_drawing_area_get_content_height:
+ * gtk_drawing_area_get_content_height: (attributes org.gtk.Method.get_property=content-height)
* @self: a `GtkDrawingArea`
*
* Retrieves the content height of the `GtkDrawingArea`.